<template>
  <div>
    <SplashScreen v-if="showSplash" @splash-closed="handleSplashClosed" />
    <router-view v-if="!showSplash"></router-view>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const showSplash = ref(true);

const handleSplashClosed = () => {
  showSplash.value = false;
}
</script>

<style scoped></style>